package com.ctshk.rpc.system.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 *
 * </p>
 *
 * @author xuhui
 * @since 1/25/2021
 */
@Data
@ApiModel(description="旅客类型新增，编辑")
public class MainDataTouristTypeAddReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "缺少旅客类型名称")
    @ApiModelProperty(value = "旅客类型名称",required = true,example = "小童")
    private String touristTypeName;

    @NotNull(message = "缺少旅客类型状态")
    @ApiModelProperty(value = "是否禁用（0：未禁用 1：已禁用）",required = true,example = "0")
    private Integer status;

    @NotNull(message = "缺少旅客类型年龄起始")
    @ApiModelProperty(value = "年龄起始",required = true,example="3")
    private Integer ageBegin;

    @NotNull(message = "缺少旅客类型年龄结束")
    @ApiModelProperty(value = "年龄结束",required = true,example = "11")
    private Integer ageEnd;

    @ApiModelProperty(value = "修改人ID")
    private Long modifiedId;

}